package com.glp.work.flow.exception;


import com.glp.work.flow.constant.APICode;

/**
 * 业务校验异常
 * @author  pengjia 
 * @version 2020年3月24日 下午5:50:54
 */
public class WorkflowException extends RuntimeException{

	  private static final long serialVersionUID = 8907245640919300900L;
	  private APICode apiCode;
	  private String message;
	  
	  public WorkflowException() {
		  super();
	  }
	  
	  public WorkflowException(APICode apiCode, String message) {
		    super();
		    this.apiCode = apiCode;
		    this.message = message;
	  }

	public APICode getApiCode() {
		return apiCode;
	}

	public void setApiCode(APICode apiCode) {
		this.apiCode = apiCode;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	  
}
